package com.joizhang.seckill.utils;

import com.joizhang.seckill.api.service.exception.CodeMsg;

public class ServiceCodeMsg extends CodeMsg {

    /**
     * 登录模块 5002XX
     */
    public static CodeMsg SESSION_ERROR = new CodeMsg(500_210, "Session不存在或者已经失效");
    public static CodeMsg PASSWORD_EMPTY = new CodeMsg(500_211, "登录密码不能为空");
    public static CodeMsg MOBILE_EMPTY = new CodeMsg(500_212, "手机号不能为空");
    public static CodeMsg MOBILE_ERROR = new CodeMsg(500_213, "手机号格式错误");
    public static CodeMsg MOBILE_NOT_EXIST = new CodeMsg(500_214, "手机号不存在");
    public static CodeMsg PASSWORD_ERROR = new CodeMsg(500_215, "密码错误");
    public static CodeMsg PRIMARY_ERROR = new CodeMsg(500_216, "主键冲突");
    public static CodeMsg MOBILE_ALREADY_EXIST = new CodeMsg(500_217, "手机号已存在");
    public static CodeMsg USERNAME_ALREADY_EXIST = new CodeMsg(500_218, "用户名已注册");
    public static CodeMsg ACCOUNT_NOT_EXIST = new CodeMsg(500_219, "账号不存在");

}
